#include <stdio.h>
#include <string.h>
 
int main ()
{
   const char str[] = "this is a test string";
   const char ch = 'e';
   char *ret;
 
   ret = (char*)memchr(str, ch, strlen(str));
 
   printf("|%c| 之后的字符串是 - |%s|\n", ch, ret+1);
 
   return(0);
}